package zigzag.designpattern.composite;

import java.util.ArrayList;

public abstract class Tree {
	protected ArrayList list = new ArrayList();
	protected String name = null;
	
	public Tree(){};
	
	public abstract void add(Tree t);
	public abstract void remove(Tree t);
	public abstract void printAll();
}
